package cn.com.generaldata.jsme_indicator_system.entity;

import java.sql.Timestamp;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Readonly;
import org.nutz.dao.entity.annotation.Table;

/**
 * 报表与指标关系实体.
 */
@Data
@Table("t_report_type_indicator")
public class ReportTypeIndicator implements java.io.Serializable {

	private static final long serialVersionUID = 7580967454254136975L;

	// columns START
	/**
	 * PK db_column: id
	 */
	@Id(auto = false)
	@Column("id")
	private Integer id;
	/**
	 * 报表类型id db_column: report_type_id
	 */
	@Column("report_type_id")
	private String reportTypeId;
	/**
	 * 用海企业调查表指标id db_column: indicator_id
	 */
	@Column("indicator_id")
	private Integer indicatorId;
	/**
	 * 指标所处行 db_column: row
	 */
	@Column("ROW_INDEX")
	private Integer row;
	/**
	 * 指标所处列 db_column: the_column
	 */
	@Column("the_column")
	private Integer theColumn;
	/**
	 * 创建时间 db_column: create_time
	 */
	@Column("create_time")
	private java.sql.Timestamp createTime = new Timestamp(System.currentTimeMillis());
	/**
	 * 最后修改时间 db_column: last_update
	 */
	@Column("last_update")
	private java.sql.Timestamp lastUpdate = new Timestamp(System.currentTimeMillis());
	// columns END

	@Column("name")
	@Readonly
	private String name;

	@Column("unit")
	@Readonly
	private String unit;

}
